/**
 * 
 */
package kr.co.insoft.core.model.template.application;

import java.io.Serializable;

import kr.co.insoft.auth.model.security.User;
import flexjson.JSONSerializer;


/**
 * TABLE : T_BASE_EVENT
 * 
 * @author IN-SOFT Inc. Park Jong Taek(jtpark@in-soft.co.kr)
 * 
 */
public class FileEntityModel  implements Serializable {
	
	static final long serialVersionUID = -715645747810155810L;
	
	String fileId;
	String applicationId;
	String filePath;
	String filesize;
	String fileVer;
	String fileLocation;
	String tagVersion;
	String svnUseYn;
	Long userId;
	String companyId;
	String updatedDate;
	
	public String toString() {
		return (new JSONSerializer()).deepSerialize(this);
	}
	
	public void setAuth(User user) {
		this.userId = user.getId();
		this.companyId = user.getCompanyId();
	}
	
	/**
	 * @return the fileId
	 */
	public String getFileId() {
		return fileId;
	}
	/**
	 * @param fileId the fileId to set
	 */
	public void setFileId(String fileId) {
		this.fileId = fileId;
	}
	/**
	 * @return the applicationId
	 */
	public String getApplicationId() {
		return applicationId;
	}
	/**
	 * @param applicationId the applicationId to set
	 */
	public void setApplicationId(String applicationId) {
		this.applicationId = applicationId;
	}
	/**
	 * @return the filePath
	 */
	public String getFilePath() {
		return filePath;
	}
	/**
	 * @param filePath the filePath to set
	 */
	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}
	/**
	 * @return the filesize
	 */
	public String getFilesize() {
		return filesize;
	}
	/**
	 * @param filesize the filesize to set
	 */
	public void setFilesize(String filesize) {
		this.filesize = filesize;
	}
	/**
	 * @return the fileVer
	 */
	public String getFileVer() {
		return fileVer;
	}
	/**
	 * @param fileVer the fileVer to set
	 */
	public void setFileVer(String fileVer) {
		this.fileVer = fileVer;
	}
	/**
	 * @return the fileLocation
	 */
	public String getFileLocation() {
		return fileLocation;
	}
	/**
	 * @param fileLocation the fileLocation to set
	 */
	public void setFileLocation(String fileLocation) {
		this.fileLocation = fileLocation;
	}
	/**
	 * @return the tagVersion
	 */
	public String getTagVersion() {
		return tagVersion;
	}
	/**
	 * @param tagVersion the tagVersion to set
	 */
	public void setTagVersion(String tagVersion) {
		this.tagVersion = tagVersion;
	}
	/**
	 * @return the svnUseYn
	 */
	public String getSvnUseYn() {
		return svnUseYn;
	}
	/**
	 * @param svnUseYn the svnUseYn to set
	 */
	public void setSvnUseYn(String svnUseYn) {
		this.svnUseYn = svnUseYn;
	}

	/**
	 * @return the userId
	 */
	public Long getUserId() {
		return userId;
	}

	/**
	 * @param userId the userId to set
	 */
	public void setUserId(Long userId) {
		this.userId = userId;
	}

	/**
	 * @return the companyId
	 */
	public String getCompanyId() {
		return companyId;
	}
	/**
	 * @param companyId the companyId to set
	 */
	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}
	/**
	 * @return the updatedDate
	 */
	public String getUpdatedDate() {
		return updatedDate;
	}
	/**
	 * @param updatedDate the updatedDate to set
	 */
	public void setUpdatedDate(String updatedDate) {
		this.updatedDate = updatedDate;
	}
	
	
}
